package com.usian.service;

import com.usian.pojo.TbContent;
import com.usian.utils.AdNode;
import com.usian.utils.PageResult;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author chen
 * @date 2021/1/11 - 20:08 - 星期一
 * @project usian_parent
 * @package com.usian.service
 * @by GGbomd猪猪侠
 */
@Component
public interface ContentService {
    PageResult selectTbContentAllByCategoryId(Integer page, Integer rows, Long categoryId);

    Integer insertTbContent(TbContent tbContent);

    Integer deleteContentByIds(Long ids);

    List<AdNode> selectFrontendContentByAD();

}
